package com.langshixiaobai.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.langshixiaobai.admin.dao.entity.UserDO;
import com.langshixiaobai.admin.dto.req.UserLoginReqDTO;
import com.langshixiaobai.admin.dto.req.UserRegisterReqDTO;
import com.langshixiaobai.admin.dto.req.UserUpdateReqDTO;
import com.langshixiaobai.admin.dto.resp.UserLoginRespDTO;


public interface UserService extends IService<UserDO> {

    void register(UserRegisterReqDTO requestParam);

    UserLoginRespDTO userLogin(UserLoginReqDTO requestParam);

    UserDO getUserInfo(String username);

    void updateUser(UserUpdateReqDTO requestParam);

    Boolean checkLogin(String username, String token);
}
